Cross-Site Scripting
Return Home
Web Security Academy: Cross-site scripting
In this section, we’ll explain what cross-site scripting is, describe the different varieties of cross-site scripting vulnerabilities, and spell out how to find and prevent cross-site scripting.
PortSwigger XSS Cheat Sheet
This cross-site scripting (XSS) cheat sheet contains many vectors that can help you bypass WAFs and filters. You can select vectors by the event, tag or browser and a proof of concept is included for every vector.
XSS without HTML: Client-Side Template Injection with AngularJS
Naive use of the extremely popular JavaScript framework AngularJS is exposing numerous websites to Angular Template Injection. This relatively low profile sibling of server-side template injection can be combined with an Angular sandbox escape to launch cross-site scripting (XSS) attacks on otherwise secure sites. Until now, there has been no publicly known sandbox escape affecting Angular 1.3.1+ and 1.4.0+. This post will summarize the core concepts of Angular Template Injection, then show the development of a fresh sandbox escape affecting all modern Angular versions.
Adapting AngularJS payloads to exploit real world applications
Every experienced pentester knows there is a lot more to XSS than - filtering, encoding, browser-quirks and WAFs all team up to keep things interesting. AngularJS Template Injection is no different. In this post, we will examine how we adapted template injection payloads to bypass filtering and encoding and exploit Piwik and Uber.
DOM based AngularJS sandbox escapes
Last year in XSS Without HTML: Client-Side Template Injection with AngularJS we showed that naive use of the AngularJS framework exposes websites to Cross-Site Scripting (XSS) attacks, given a suitable sandbox escape. In this post, I’ll look at how to develop a sandbox escape that works in a previously unexploitable context - the order by filter. I’ve written up the entire exploit development process including various techniques that didn’t quite work out.
XSS Attacks
Listing of XSS attacks.
HTML5 Security Cheatsheet
This is the new home of the H5SC or HTML5 Security Cheatsheet. Here you will find three things: • A collection of HTML5 related XSS attack vectors • A set of useful files for XSS testing • A set of formerly hidden features useful for XSS testing
XSS Vulnerabilities
Cross site scripting (XSS) vulnerabilities constitute some of the most pervasive and problematic security issues that modern web applications face. They have caused serious problems with the most widely used online companies and services, including Twitter, Facebook, and Google, [1] and researchers estimate that a large percentage of websites currently suffer from xss vulnerabilities of one form or another.
Let me know what you think of this article on twitter @_TheGetch_!